#include <cstdio>
#include <algorithm>
using namespace std;
int main(void){
    int m,n;
    while(~scanf("%d%d",&n,&m)){
        if(m==0 && n==0){
            break;
        }
        if(m%2 && n%2){
            printf("What a pity!\n");
        }
        else{
            printf("Wonderful!\n");
        }
    }
    return 0;
}
